package com.qf.weekwork.entity;

import javax.persistence.*;

public class Customer {
    @Id
    private Integer id;

    /**
     * 公司名
     */
    private String username;

    private String password;

    private String nickname;

    /**
     * 金钱
     */
    private Long money;

    /**
     * 状态
     */
    private Short state;

    /**
     * 地址
     */
    private String address;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取公司名
     *
     * @return username - 公司名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置公司名
     *
     * @param username 公司名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return nickname
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * @param nickname
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * 获取金钱
     *
     * @return money - 金钱
     */
    public Long getMoney() {
        return money;
    }

    /**
     * 设置金钱
     *
     * @param money 金钱
     */
    public void setMoney(Long money) {
        this.money = money;
    }

    /**
     * 获取状态
     *
     * @return state - 状态
     */
    public Short getState() {
        return state;
    }

    /**
     * 设置状态
     *
     * @param state 状态
     */
    public void setState(Short state) {
        this.state = state;
    }

    /**
     * 获取地址
     *
     * @return address - 地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置地址
     *
     * @param address 地址
     */
    public void setAddress(String address) {
        this.address = address;
    }
}